﻿using System;
using System.Collections.Generic;
using System.Text;
using Meqs.Entity;

namespace Meqs.Logic.Interface
{
    public interface IClassEvalDetailLogic : ICommonLogic<ClassEvalDetail, int>
    {
        /// <summary>
        /// 获取班级下所有学生在指定的日期内的所有德育评价之明细
        /// </summary>
        /// <param name="classID">班级ID</param>
        /// <param name="reportType">
        /// 报表类型
        /// 1:日报
        /// 2:周报
        /// 3:月报
        /// </param>
        /// <param name="schoolYear">学年，不填为当前学年</param>
        /// <param name="term">学期，不填为当前学期</param>
        /// <param name="schoolMark">学校编号</param>
        /// <returns></returns>
        IList<ScoreInputClassEntity> GetScoreInputEntityByClass(int classID, int reportType, DateTime evalDate, int? schoolYear, int? term, string schoolMark);

        /// <summary>
        /// 保存
        /// </summary>
        int InsertClassEvalDetail(ClassEvalDetail classEvalDetail, string schoolMark);
    }
}
